from wwengine.det_core import AnchorGenerator


self = AnchorGenerator(strides=[16,8], ratios=[2.0,0.5], scales=[1.0,2.0], base_sizes=[9,20])
all_anchors = self.grid_anchors([(3, 2),(6,4)], device='cpu')
print(all_anchors)
